package com.nuoniu.sibanyun.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * <p>
 * 科目总账
 * </p>
 *
 * @author 小啊刚
 * @since 2021-04-25
 */
@Data
@ApiModel(value="VAccountingLedger对象", description="科目总账")
public class VAccountingLedgerVo extends BaseEntity {

    @ApiModelProperty(value = "启用期间")
    private Integer accountPeriod;

    @ApiModelProperty(value = "科目上级id")
    private Integer accountingParentId;

    @ApiModelProperty(value = "科目级次")
    private Integer accountingDepth;

    @ApiModelProperty(value = "科目id")
    private Integer accountingId;

    @ApiModelProperty(value = "科目名称")
    private String accountingName;

    @ApiModelProperty(value = "科目编码")
    private String accountingCode;

    @ApiModelProperty(value = "科目类型")
    private String accountingTypeName;

    @ApiModelProperty(value = "是否末级")
    private Boolean isEndNode;

    @ApiModelProperty(value = "余额方向")
    private Integer dcDirection;

    @ApiModelProperty(value = "币种名称")
    private String currencyName;

    @ApiModelProperty(value = "期初金额方向1:借2:贷")
    private Integer beginAmountDirection;

    @ApiModelProperty(value = "期初金额")
    private BigDecimal endAmount;

    @ApiModelProperty(value = "期初余额")
    private BigDecimal beginAmount;

    @ApiModelProperty(value = "累计借方金额")
    private BigDecimal debitAmount;

    @ApiModelProperty(value = "累计贷方金额")
    private BigDecimal creditAmount;

    @ApiModelProperty(value = "外币期初金额")
    private BigDecimal currencyBeginAmount;

    @ApiModelProperty(value = "数量期初")
    private BigDecimal quantityBegin;

    @ApiModelProperty(value = "部门辅助")
    private Boolean isAuxaccDepartment;

    @ApiModelProperty(value = "个人辅助")
    private Boolean isAuxaccPerson;

    @ApiModelProperty(value = "客户辅助")
    private Boolean isAuxaccCustomer;

    @ApiModelProperty(value = "供应商辅助")
    private Boolean isAuxaccSupplier;

    @ApiModelProperty(value = "项目辅助")
    private Boolean isAuxaccProject;

}
